/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package SIC115;

import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;

/**
 * FXML Controller class
 *
 * @author Martinez
 */
public class RootLayoutController  {
    
    private MainApp mainApp;

    public void setMainApp(MainApp mainApp) {
        this.mainApp = mainApp;
    }
    /**
     * Initializes the controller class.
     */
    @FXML private void handleRTransaccion(){
        mainApp.registrarTransaccion();
    }
    
    @FXML private void handleNcuenta(){
        mainApp.NuevaCuenta();
    }
    
    @FXML private void handleNEmpresa(){
        mainApp.NuevaEmpresa();
    }
    
}
